<?php
/*
 * Team 1 Project - Palo Alto Bicycle Club
 * Author: Archana Nagarkatti
 * Class: COIN 71
 * Filename: announcement_list.php
 * Date Created: 3/15/2009
 * Functionality: List all the announcements from the xml file
 * and provides the user to post a new announcement
 * Modification History:
*/
?>

<div id="announcements_page">

        <div id="announcement">

            <h3>Announcements</h3>

		</div>
		<br />
		<form method='POST' name='announce' action='writeXML.php'>
            <h3>Post an Announcement</h3>

            <table id="post_table" rows="3" columns="2">
            <tr>
            <td>Title :</td>
            <td><input type="text" class="title" name="title" value="" size="40" maxlength="40" /></td>
            </tr>
            <tr>
            <td>Posted by :</td>
            <td><input type="text" class="author" name="author" value="" size="25" maxlength="25" /></td>
            </tr>
            <tr>
            <td>Message :</td>
            <td><textarea name="message" rows="5" cols="60" /></textarea>
            <br>Max: 300 char.
            </tr>
 			</table>
		<!-- ********* END MAIN CONTENT ************ -->
			<br/>
				<input type="submit" class="button" name="post_announce" value="Post" />
			<br/>

		</form>

</div>

